<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.hrms.pojo.Employee"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>员工详细信息</title>
<script type="text/javascript">
	function isDel() {
		return confirm("确定删除吗！")
	}
</script>
</head>
<body background="<%=path%>/images/background.jpg">
	<center>
		<jsp:include page="../top.jsp" flush="true"></jsp:include>
		<table width="800" height="48" border="0" cellpadding="0"
			cellspacing="0" background="<%=path%>/images/center1.jpg">
			<tr>
				<td valign="top">
					<table width="494">
						<tr>
							<td width="45" height="25"></td>
							<td width="437" valign="bottom"><a
								href="<%=path%>/admin/function"><b>主页</b></a>&gt;<a
								href="<%=path%>/emp/emp_f"><b>员工管理</b></a>&gt;<a
								href="<%=path%>/emp/limit?showPage=1"><b>员工信息列表</b></a>&gt;<font 
								color="#FF0000">员工详情</font></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table width="800" height="340" border="0" align="center"
			cellpadding="0" cellspacing="0"
			background="<%=path%>/images/center2.jpg">
			<tr>
				<td>
					<table width="700" border="1" align="center" cellpadding="0"
						cellspacing="0">
						<tr>
							<th class="style4"><div align="center">姓名</div></th>
							<th class="style4"><div align="center">性别</div></th>
							<th class="style4"><div align="center">年龄</div></th>
							<th class="style4"><div align="center">身份证号</div></th>
							<th class="style4"><div align="center">出生日期</div></th>
							<th class="style4"><div align="center">民族</div></th>
							<th class="style4"><div align="center">婚姻状况</div></th>
							<th class="style4"><div align="center">政治面貌</div></th>
							<th class="style4"><div align="center">籍贯</div></th>
							<th class="style4"><div align="center">电话</div></th>
							<th class="style4"><div align="center">地址</div></th>
							<th class="style4"><div align="center">毕业学校</div></th>
							<th class="style4"><div align="center">专业</div></th>
							<th class="style4"><div align="center">学历</div></th>
							<th class="style4"><div align="center">工种</div></th>
							<th class="style4"><div align="center">登记时间</div></th>
							<th class="style4"><div align="center">登记人</div></th>
							<th class="style4"><div align="center">备注</div></th>
							<th class="style4"><div align="center">所属部门</div></th>
							<th class="style4"><div align="center">操作</div></th>
						</tr>
						<%
							Object obj = request.getAttribute("emp");
							Employee emp = (Employee) obj;
						%>
						<tr>
							<td><%=emp.getEmName()%></td>
							<td><%=emp.getEmSex()%></td>
							<td><%=emp.getEmAge()%></td>
							<td><%=emp.getEmIdNumber()%></td>
							<td><%=emp.getEmBorn()%></td>
							<td><%=emp.getEmNation()%></td>
							<td><%=emp.getEmMarriage()%></td>
							<td><%=emp.getEmVisage()%></td>
							<td><%=emp.getEmNativePlace()%></td>
							<td><%=emp.getEmTel()%></td>
							<td><%=emp.getEmAddress()%></td>
							<td><%=emp.getEmGraduateSchool()%></td>
							<td><%=emp.getEmSpecialty()%></td>
							<td><%=emp.getEmEducation()%></td>
							<td><%=emp.getEmTypework()%></td>
							<td><%=emp.getEmCreatetime()%></td>
							<td><%=emp.getEmCreatename()%></td>
							<td><%=emp.getEmBz()%></td>
							<td><%=emp.getEmDtId()%></td>
							<td><a
								href="<%=path%>/emp/alter_emp?emId=<%=emp.getEmId()%>">修改</a>
								&nbsp; <a href="<%=path%>/emp/<%=emp.getEmId()%>/remove"
								onclick="return isDel()">删除</a></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<jsp:include page="../down.jsp" flush="true" />
	</center>
</body>
</html>